home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Bus
/
H-L
/
Invoicer.cpt
/
Start Up
< prev
next >
Wrap
Text File
|
1987-03-30
|
3KB
|
86 lines
AlterIllustration:
CLS
WINDOW 2,"",(28,50) - (478,280),3
TEXTFACE (0): TEXTSIZE (10)
message$(1) = "If you wish to alter the title picture, but you have not yet modified it (and copied it to "
message$(2) = "the clipboard), choose ''A'' - you will exit BASIC. Open a PAINT program, modify picture"
message$(3) = "(''title pix'' PAINT file), copy it to the clipboard, and run the ''Start up'' program again."
message$(4) = "If you also wish to print out the above instructions, choose ''B.'' Please make sure your "
message$(5) = "printer is turned on and loaded with paper (printing begins immediately)."
message$(6) = "This is a test to see if this is going to work or not"
message$(6) = "If you have already altered the title picture and have it on the clipboard, choose ''C.''"
message$(7) = "The modification will be designated as the new title picture, customer and tax files"
message$(8)= "will be created, and you will enter the program, ready to set up your system.''"
message$(9)= "If you wish to use the default title picture for now, choose ''D.''"
PRINT:PRINT SPC (1);message$(1)
PRINT SPC (1);message$(2)
PRINT SPC (1);message$(3)
PRINT:PRINT
PRINT SPC (1);message$(4)
PRINT SPC (1);message$(5)
PRINT:PRINT
PRINT SPC (1);message$(6)
PRINT SPC (1);message$(7)
PRINT SPC (1);message$(8)
PRINT:PRINT
PRINT SPC (1);message$(9)
WINDOW 3,"",(28,285)-(478,330),-3
BUTTON 1,1,"A",(12,10)-(111,35),1
BUTTON 2,1,"B",(121,10)-(220,35),1
BUTTON 3,1,"C",(230,10)-(329,35),1
BUTTON 4,1,"D",(339,10)-(438,35),1
YourChoice:
WHILE DIALOG(0)<>1:WEND
Buttonpushed=DIALOG(1)
IF Buttonpushed=1 THEN SYSTEM
IF Buttonpushed=2 THEN GOSUB Prntr
IF Buttonpushed=4 THEN Mdfy = 1
Begin:
BUTTON CLOSE 1: BUTTON CLOSE 2: BUTTON CLOSE 3: WINDOW CLOSE 2:WINDOW CLOSE 3
CLS
TEXTFACE(1):TEXTSIZE (12)
PRINT:PRINT
PRINT SPC(11);"creating customer files - please wait"
OPEN "Accts Recd" FOR APPEND AS #1
CLOSE #1
OPEN "Accts Billed" FOR APPEND AS #1
CLOSE #1
OPEN "Customers A" FOR APPEND AS #1
CLOSE #1
OPEN "Customers B" FOR APPEND AS #1
CLOSE #1
IF Mdfy = 1 THEN SkipModify
ModifyPix:
OPEN "CLIP:PICTURE" FOR INPUT AS #1
TITLE$=INPUT$(LOF(1),1)
CLOSE #1
OPEN "title picture" FOR OUTPUT AS #1
PRINT #1, TITLE$
CLOSE #1
SkipModify:
CLS
PRINT:PRINT
INPUT"Sales Tax Rate (percent value — ex., 7.5 for 7-1/2) %",TaxRate
OPEN "Tax Rate" FOR OUTPUT AS #1
PRINT #1, TaxRate/100
CLOSE #1
LOAD "Open Me First",R
Prntr:
LPRINT:LPRINT message$(1)
LPRINT message$(2)
LPRINT message$(3)
SYSTEM